home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com
- Newsgroups: comp.lang.c++
- Subject: Re: Help! Definition of error
- Date: 26 Jan 1996 00:04:43 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4e95qr$2kj@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe11.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Jan 25, 1996 13:24:09 in article <Help! Definition of error>, 'Lance
- Perry <lperry@hiwaay.net>' wrote:
-
-
- >Could someone explain to me what the following error could be:
- >
- >error L2029: 'int __far __cdecl olon(struct cda_def __far*,
- >unsigned char __far*,int,unsigned char __far*,int,int)' : unresolved
- external
- >
- >The 'olon' function is in a library that I am trying to link to. I am
- using
-
- Oracle OCI, possibly?
-
- >VC++ 1.5/MFC 2.5.
- >
- >Does anyone have any ideas???
- >
- Try this in your source code (all of them where the Oracle headers
- are included)
-
- extern "C" {
- #include "theheaderfilewhereolonisdeclared.h"
- }
-
- For explanation as to why, look up extern "C" in your docs.
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-